'use strict';

const Controller = require('egg').Controller;
var elasticsearch = require('elasticsearch');
class HomeController extends Controller {
	async index() {
		const {
			ctx
		} = this;
		console.log("2号访问");
		ctx.body = "egg访问成功";
		
	}
}

module.exports = HomeController;
